package com.itheima.health.dao;

import com.itheima.health.pojo.entity.Order;
import com.itheima.health.pojo.vo.OrderInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Mapper
public interface OrderDao {
    OrderInfoVO findOrderInfoById(Integer id);

    Integer searchOrderByMemberIdAndOrderDate(Integer id, Date orderDate);

    void insertOrder(Order newOrder);
}
